#pragma once

#include <stdint.h>
#include <stdbool.h>

extern const int simu_base_station[6][5];

// 模拟串口 -----------------------------------------------------------------------------------------------------------------
#define UART_BUF_SIZE 2048
extern char uart_ports[16][32];
extern HANDLE uart_handles[16];
extern HANDLE pipe_read[16];
extern HANDLE pipe_write[16];
extern unsigned char uart_read_buff[16][UART_BUF_SIZE];
extern unsigned int uart_read_len[16];